<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
session_start();
header("Content-Type: text/html; charset=UTF-8");
require_once 'settings.php';
require_once 'mysql.php';
require_once 'functions.php';
$flowers=new Entries($mysqli);
if($_GET['action']=='list')
{
?>
<form>
    <input type="text"/>
    <input type="submit"/>
</form>
<?
}
elseif($_GET['action']=='add')
{
    $_SESSION[ids][$_GET['id']]++;
    basket($_SESSION[ids],$flowers->getEntriesNames());
}
elseif($_GET['action']=='clear')
{
    session_unset();
    basket($_SESSION[ids],$flowers->getEntriesNames());
}
?>